package com.campus.utils;

public class UserContext {
    private static final ThreadLocal<String> userToken = new ThreadLocal<>();

    public static void setToken(String token) {
        userToken.set(token);
    }

    public static String getToken() {
        return userToken.get();
    }

    public static void removeToken() {
        userToken.remove();
    }
}